package com.xteam.youin_supplier.model;

/**
 * Created by Curry on 2015-12-24.
 * 竞拍结果
 */
public class BeddingResultItem {

    /**
     * flag : true
     * data : {"id":4,"price":0.88,"auction_note":"我们每个月需要5555L 0号柴油","end_time":"2015-12-26 11:32:47","location":"南昌北路","name":"河北物流公司","qty":"5555L/月","competitive_note":"我们可以提供正常油价的8.8折","contract_limittime":"2014.10-2015.10"}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * id : 4
         * price : 0.88
         * auction_note : 我们每个月需要5555L 0号柴油
         * end_time : 2015-12-26 11:32:47
         * location : 南昌北路
         * name : 河北物流公司
         * qty : 5555L/月
         * competitive_note : 我们可以提供正常油价的8.8折
         * contract_limittime : 2014.10-2015.10
         */
        private int id;
        private double price;
        private String auction_note;
        private String end_time;
        private String location;
        private String name;
        private String qty;
        private String competitive_note;
        private String contract_limittime;

        public void setId(int id) {
            this.id = id;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public void setAuction_note(String auction_note) {
            this.auction_note = auction_note;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public void setCompetitive_note(String competitive_note) {
            this.competitive_note = competitive_note;
        }

        public void setContract_limittime(String contract_limittime) {
            this.contract_limittime = contract_limittime;
        }

        public int getId() {
            return id;
        }

        public double getPrice() {
            return price;
        }

        public String getAuction_note() {
            return auction_note;
        }

        public String getEnd_time() {
            return end_time;
        }

        public String getLocation() {
            return location;
        }

        public String getName() {
            return name;
        }

        public String getQty() {
            return qty;
        }

        public String getCompetitive_note() {
            return competitive_note;
        }

        public String getContract_limittime() {
            return contract_limittime;
        }
    }
}
